{include file='account/header.tpl'}
{include file='left.tpl'}

<div class="entry post clearfix width-for-all-img">
      <div class="breadcrumb">
            <span class="raquo"></span><a href="/">Главная</a>
           <span class="raquo"> &raquo; </span><a href="{geturl controller='account' action='login'}">Вход на сайт</a>  
    </div>
    <h1 class="prof-title">Вход на сайт</h1>
   
<div class="form">
    <div class="row" id="form_username_container" style="float: right;">
       <label for="form_login">Вход с помощью соцсетей:</label>
  <script src="http://loginza.ru/js/widget.js" type="text/javascript"></script>
<iframe src="http://loginza.ru/api/widget?overlay=loginza&token_url=http://daba.hm/utility/loginza&providers_set=vkontakte,mailruapi,odnoklassniki,facebook,twitter,google" 
style="width:359px;height:185px;float: right;" scrolling="no" frameborder="no"></iframe>
</div>
<form method="post" action="{geturl action='login'}">

        <input type="hidden" name="redirect" value="{$redirect|escape}" />

      

        <div class="row" id="form_username_container">
               <span class="td4" style="width:200px;padding-top: 5px;"><label for="form_login">Логин:</label></span>
              <span class="td4" style="padding: 5px;">  <input type="text" id="form_login"
                   name="login" value="{$login|escape}" />
            {include file='lib/error.tpl' error=$errors.login}</span>
        </div>

        <div class="row" id="form_password_container">
              <span class="td4" style="width:200px;padding-top: 5px;"> <label for="form_password">Пароль:</label></span>
               <span class="td4" style="padding: 5px;"> <input type="password" id="form_password"
                   name="password" value="" />
            {include file='lib/error.tpl' error=$errors.password}</span>
        </div>

        <div class="submit">
            <input type="submit" class="button green-pink" value="Войти" />
        </div>
        <br />
        <div>
            <a href="{geturl action='fetchpassword'}">Забыли пароль?</a> | <a href="{geturl action='register'}">Регистрация</a>
        </div>
  
</form>
</div>
</div>
{include file='footer.tpl'}